package com.rchat.pocmini.bean2eventbus;

import com.airtalkee.sdk.entity.AirContact;
import com.airtalkee.sdk.entity.AirSession;
import com.aso.common.eventbus.basebean.EventBusBaseBean;

/**
 * EventBus用于处理群组相关的
 * Created by itsdf07 on 2017/8/23.
 */

public class UpdateGroupBean extends EventBusBaseBean {
    /**
     * 群组列表刷新
     */
    public static final int EVENT_GROPULIST_UPDATE = 1;

    /**
     * 群组Item刷新：使用到airSession
     */
    public static final int EVENT_GROPUITEM_UPDATE = 2;
    /**
     * onMediaStateListen 事件
     */
    public static final int EVENT_GROPUITEM_MEDIASTATELISTEN = 3;
    /**
     * onMediaStateListenEnd 事件
     */
    public static final int EVENT_GROPUITEM_MEDIASTATELISTENEND = 4;
    /**
     * onMediaStateTalk 事件
     */
    public static final int EVENT_GROPUITEM_MEDIASTATETALK = 5;
    /**
     * onMediaStateTalkEnd 事件
     */
    public static final int EVENT_GROPUITEM_MEDIASTATETALKEND = 6;

    private AirSession airSession;

    private AirContact airContact;

    private int reason;

    public AirSession getAirSession() {
        return airSession;
    }

    public void setAirSession(AirSession airSession) {
        this.airSession = airSession;
    }

    public AirContact getAirContact() {
        return airContact;
    }

    public void setAirContact(AirContact airContact) {
        this.airContact = airContact;
    }

    public int getReason() {
        return reason;
    }

    public void setReason(int reason) {
        this.reason = reason;
    }
}
